<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
</head>

<body>
    <div>richbrain !!!</div>
    <div>richbrain !!!</div>
    <div>richbrain !!!</div>
    <div>richbrain !!!</div>
    <div>richbrain !!!</div>
    <div>richbrain !!!</div>
    <ul>
        <li>same</li>
        <li>same</li>
        <li>same</li>
    </ul>
    <script src="../jquery.min.js"></script>
    <script>
        // console.log($('div').css('background', 'pink'))
        console.log($('div'))

        $('div').css('background', 'pink')

        $('ul li').css('color', 'red')

        // var divs = $('div')
        // divs.click(function() {
        //     this.hide()
        // })
    </script>
</body>

</html>

<!-- //隐式迭代就是把匹配的所有元素内部进行遍历循环，让每一个元素添加css这个方法 -->